﻿using System;

namespace NsbMonitorClientService.QueueManager
{
    public class QueueStatus
    {
        public QueueStatus(int messagesCount, DateTime? oldestMessage)
        {
            MessagesCount = messagesCount;
            OldestMessageTime = oldestMessage;
        }

        public int MessagesCount { get; private set; }
        public DateTime? OldestMessageTime { get; private set; }
    }
}